﻿using System;
using System.Windows.Input;
using Gao.Poker.Command;
using Gao.Poker.Domain;

namespace Gao.Poker.App.ViewModel
{
    public class LoginViewModel
    {
        public ICommand CloseCommand { get; set; }
        public ICommand LoginCommand { get; set; }
        public User User { get; set; }

        public LoginViewModel()
        {
            CloseCommand = new CloseCommand();
            LoginCommand = new LoginCommand(new Action<Boolean>(LoginResult));
        }

        private void LoginResult(bool obj)
        {
            if(obj)
            {
                
            }
        }
    }
}
